package com.wd.amodel.fragment.life;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

import com.wd.base.util.Logger;

/**
 * NA<BR>
 *
 * @author w4425
 * @version [V5.9.3, 2021/7/9]
 * @since V5.9.3
 */
public class MyLifecycleObserver implements LifecycleObserver {
    private static final String TAG = "MyLifecycleObserver";

    public MyLifecycleObserver() {

    }

    @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
    public void onResume() {
        Logger.d(TAG, "onResume");
    }

    @OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
    public void onPause() {
        Logger.d(TAG, "onPause");
    }
}
